package org.example.query;

import lombok.Data;

//@Data
public class BaseQuery {
    private Integer currPage =1;
    private Integer pageSize = 5;

    public Integer getCurrPage() {
        return currPage;
    }

    public void setCurrPage(Integer currPage) {
        this.currPage = currPage;
    }

    public Integer getPageSize() {
        return pageSize;
    }

    public void setPageSize(Integer pageSize) {
        this.pageSize = pageSize;
    }

    @Override
    public String toString() {
        return "BaseQuery{" +
                "currPage=" + currPage +
                ", pageSize=" + pageSize +
                '}';
    }
}
